import request from '@/utils'

// * 验证码
export const sendMsg = mobile => {
  return request({
    url: `/v1_0/sms/codes/${mobile}`
  })
}

// * 用户信息
export const login = data => {
  return request({
    method: 'post',
    url: `v1_0/authorizations`,
    data
  })
}